package class06;

import java.util.ArrayList;

public class Node {
	public int value; // 点上的值
	public int in; // 入度
	public int out; // 出度
	public ArrayList<Node> nexts; // 邻接点
	public ArrayList<Edge> edges; // 与节点x邻接的边

	public Node(int value) {
		this.value = value;
		in = 0;
		out = 0;
		nexts = new ArrayList<>();
		edges = new ArrayList<>();
	}
}
